﻿namespace D.Application.Contracts
{

    public partial class Result
    {
        public Result()
        {

        }

        public Result(Error error)
        {

        }

        public static Result Failure(Error error)
        {
            return new Result(error);
        }
    }

    public partial class Result<TResponse>
    {
        public Result()
        {

        }

        public Result(Error error)
        {

        }

        public static Result<TResponse> Failure(Error error)
        {
            return new Result<TResponse>(error);
        }
    }
}
